@import '../common/style/mixin.less';
.home-header {
    position:fixed;
    left: 0;
    top: 0;
    .wh(100%, 50px);
    .fj();
    line-height: 50px;
    padding:0px 20px 0px;
    .boxSizing();
    font-size: 15px;
    color: #fff;
    z-index: 10000;
    background-color: @rind;
    .nbmenu2 {
      color: @primary;
    }
    &.active {
      background: @primary;
      .nbmenu2 {
        color: #fff;
      }
      .login {
        color: #fff;
      }
    }
    .header-search {
        display: flex;
        width: 74%;
        line-height: 20px;
        margin: 10px 0;
        padding: 5px 0;
        color: #232326;
        background: rgba(255, 255, 255, .7);
        border-radius: 20px;
        .app-name {
            padding: 0 10px;
            color: @primary;
            font-size: 20px;
            font-weight: bold;
            border-right: 1px solid #666;
        }
        .icon-search {
            padding: 0 10px;
            font-size: 17px;
        }
        .search-title {
            font-size: 12px;
            color: #666;
            line-height: 21px;
        }
    }
    .icon-iconyonghu{
      color: #fff;
      font-size: 22px;
    }
    .login {
      color: @primary;
      line-height: 52px;
      .van-icon-manager-o {
        font-size: 20px;
        vertical-align: -3px;
      }
    }
}
.adm-swiper{
  img{
    width: 100%; 
    height: 100%
  }
}
.category-list {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 13px;
  .grids {
    display: flex;
    flex-direction: column;
    // justify-content:space-between;
    // align-items:center;
    width: 100%;
    height: 80px;
    text-align: center;
    img {
      .wh(36px, 36px);
      margin: 13px auto 8px auto;
    }
  }
}
.good-header {
  background: #f9f9f9;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: @primary;
  font-size: 16px;
  font-weight: 500;
}
  .good-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    .good-item {
      box-sizing: border-box;
      width: 100%;
      height: 200px;
      border-bottom: 1px solid #e9e9e9;
      padding: 10px 10px;
      img {
        display: block;
        width: 120px;
        height: 120px;
        margin: 0 auto;
      }
      .good-desc {
        text-align: center;
        font-size: 14px;
        padding: 10px 0;
        .title {
          color: #222333;
        }
        .desc {
          font-size: 3.2vw;
          color: #c3c3c3;
          display: inline-block;
          white-space: nowrap;
          width: 100%;
          overflow: hidden;
          text-overflow: ellipsis;
          margin-top: 2.66667vw;
        }
        .price {
          color:red;
        }
      }
      &:nth-child(2n + 1) {
        border-right: 1PX solid #e9e9e9;
      }
    }
  }
.floor-list {
    width: 100%;
    padding-bottom: 50px;
    .floor-head {
      width: 100%;
      height: 40px;
      background: #F6F6F6;
    }
    .floor-content {
      display: flex;
      flex-shrink: 0;
      flex-wrap: wrap;
      width: 100%;
      .boxSizing();
      .floor-category {
        width: 50%;
        padding: 10px;
        border-right: 1px solid #dcdcdc;
        border-bottom: 1px solid #dcdcdc;
        .boxSizing();
        &:nth-child(2n) {
          border-right: none;
        }
        p {
          font-size: 17px;
          color: #333;
          &:nth-child(2) {
            padding: 5px 0;
            font-size: 13px;
            color: @primary;
          }
        }
        .floor-products {
          .fj();
          width: 100%;
          img {
            .wh(65px, 65px);
          }
        }
    }
  }
}

.price {
  color:red;
}